﻿package com.obas.model.business
{
	import com.obas.model.business.Entity;
	import com.obas.model.business.Location;
	import com.obas.model.mature.EquipmentModel;
	import com.obas.model.mature.EquipmentVendor;

	[Bindable]
	[RemoteClass(alias="com.obas.model.business.Device")]
	
	public class Device
		extends
			com.obas.model.business.Entity
	{
		public static const Attribute_ipAddress:String="ipAddress";

		private var _telnetUsername:String;
		private var _telnetPassword:String;
		private var _assembleName:String;
		private var _assembleCode:String;
		private var _areaId:Number;
		private var _area:com.obas.model.business.Location;
		private var _subareaId:Number;
		private var _subarea:com.obas.model.business.Location;
		private var _siteId:Number;
		private var _site:com.obas.model.business.Location;
		private var _roomId:Number;
		private var _room:com.obas.model.business.Location;
		private var _ipAddress:String;
		private var _nmIpAddress:String;
		private var _equipmentVendorId:Number;
		private var _equipmentVendor:com.obas.model.mature.EquipmentVendor;
		private var _equipmentModelId:Number;
		private var _equipmentModel:com.obas.model.mature.EquipmentModel;
		private var _equipmentModelCode:String;
		private var _entityTypeCode:String;
		private var _parentDeviceId:Number;

		public function Device()
		{
		}

		public function get telnetUsername():String
		{
			return _telnetUsername;
		}

		public function set telnetUsername(value:String):void
		{
			_telnetUsername = value;
		}

		public function get telnetPassword():String
		{
			return _telnetPassword;
		}

		public function set telnetPassword(value:String):void
		{
			_telnetPassword = value;
		}

		public function get assembleName():String
		{
			return _assembleName;
		}

		public function set assembleName(value:String):void
		{
			_assembleName = value;
		}

		public function get assembleCode():String
		{
			return _assembleCode;
		}

		public function set assembleCode(value:String):void
		{
			_assembleCode = value;
		}

		public function get areaId():Number
		{
			return _areaId;
		}

		public function set areaId(value:Number):void
		{
			_areaId = value;
		}

		public function get area():com.obas.model.business.Location
		{
			return _area;
		}

		public function set area(value:com.obas.model.business.Location):void
		{
			_area = value;
		}

		public function get subareaId():Number
		{
			return _subareaId;
		}

		public function set subareaId(value:Number):void
		{
			_subareaId = value;
		}

		public function get subarea():com.obas.model.business.Location
		{
			return _subarea;
		}

		public function set subarea(value:com.obas.model.business.Location):void
		{
			_subarea = value;
		}

		public function get siteId():Number
		{
			return _siteId;
		}

		public function set siteId(value:Number):void
		{
			_siteId = value;
		}

		public function get site():com.obas.model.business.Location
		{
			return _site;
		}

		public function set site(value:com.obas.model.business.Location):void
		{
			_site = value;
		}

		public function get roomId():Number
		{
			return _roomId;
		}

		public function set roomId(value:Number):void
		{
			_roomId = value;
		}

		public function get room():com.obas.model.business.Location
		{
			return _room;
		}

		public function set room(value:com.obas.model.business.Location):void
		{
			_room = value;
		}

		public function get ipAddress():String
		{
			return _ipAddress;
		}

		public function set ipAddress(value:String):void
		{
			_ipAddress = value;
		}

		public function get nmIpAddress():String
		{
			return _nmIpAddress;
		}

		public function set nmIpAddress(value:String):void
		{
			_nmIpAddress = value;
		}

		public function get equipmentVendorId():Number
		{
			return _equipmentVendorId;
		}

		public function set equipmentVendorId(value:Number):void
		{
			_equipmentVendorId = value;
		}

		public function get equipmentVendor():com.obas.model.mature.EquipmentVendor
		{
			return _equipmentVendor;
		}

		public function set equipmentVendor(value:com.obas.model.mature.EquipmentVendor):void
		{
			_equipmentVendor = value;
		}

		public function get equipmentModelId():Number
		{
			return _equipmentModelId;
		}

		public function set equipmentModelId(value:Number):void
		{
			_equipmentModelId = value;
		}

		public function get equipmentModel():com.obas.model.mature.EquipmentModel
		{
			return _equipmentModel;
		}

		public function set equipmentModel(value:com.obas.model.mature.EquipmentModel):void
		{
			_equipmentModel = value;
		}

		public function get equipmentModelCode():String
		{
			return _equipmentModelCode;
		}

		public function set equipmentModelCode(value:String):void
		{
			_equipmentModelCode = value;
		}

		public function get entityTypeCode():String
		{
			return _entityTypeCode;
		}

		public function set entityTypeCode(value:String):void
		{
			_entityTypeCode = value;
		}

		public function get parentDeviceId():Number
		{
			return _parentDeviceId;
		}

		public function set parentDeviceId(value:Number):void
		{
			_parentDeviceId = value;
		}
	}
}